<?xml version="1.0" encoding="UTF-8"?>
<p:document xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:p="http://jboss.com/products/seam/pdf"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	disposition="inline">
	
	<f:facet name="header">
    	<p:font size="14">
        	<p:header borderWidthTop="0" borderWidthBottom="0.4" alignment="center">
        		<p:paragraph>
        			<p:html>
        				<br/>
	       				<img src="#{biController.recuperaCaminhoImagem('logo_petsis.jpg')}"
	       					width="61" height="50"/>
       				</p:html>
      			</p:paragraph>
   			</p:header>
    	</p:font>
   </f:facet>
	
	<p:paragraph spacingAfter="10" alignment="center">
		<p:html>
			<h2><strong>GRÁFICOS</strong></h2>
		</p:html>
		<h:panelGrid columns="2" style="align:center;">
        	<p:image value="#{biController.graficoTendenciaMeses}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoTendenciaMesesVlrBruto}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoDiasSemanaPedido}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoServicosMaisPedidos}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoMelhoresClientes}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoMelhoresClientesValor}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoProdutosMaisVendidos}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoFormasPagamento}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoDiasSemanaMedia}"
        		width="500" height="300"/>
        	<p:image value="#{biController.graficoTendenciaAtendimentos}"
        		width="500" height="300"/>
        </h:panelGrid>
	</p:paragraph>
	
</p:document>
